package com.zmn.oms.model.entity.purpose;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 类描述：意向单
 *
 * @author liuying
 * @date 2019/03/07 10:33
 */
@Data
public class OrderPurpose implements Serializable {

    private static final long serialVersionUID = 1551925344185L;

    /**
     * 主键
     * <p>
     * isNullAble:0
     */
    private Integer orderPurposeId;

    /**
     * 公司id
     * isNullAble:0,defaultVal:0
     */
    private Integer companyId;

    /** 一级组织架构ID */
    private Integer orgOneId;

    /**
     * 二级组织id
     * isNullAble:0,defaultVal:0
     */
    private Integer orgTwoId;

    /**
     * 三级组织id
     * isNullAble:0,defaultVal:0
     */
    private Integer orgThreeId;

    /**
     * 四级组织id
     * isNullAble:0,defaultVal:0
     */
    private Integer orgFourId;

    /**
     * 平台标志：1.言而有信 2.啄木鸟
     * isNullAble:0,defaultVal:1
     */
    private Integer plat;

    /**
     * 城市id
     * isNullAble:0,defaultVal:0
     */
    private Integer cityId;

    /**
     * 行政城市id
     * isNullAble:0,defaultVal:0
     */
    private Integer naturalCityId;

    /**
     * 用户id
     * isNullAble:0,defaultVal:0
     */
    private Long userId;

    /**
     * zmn城市名称
     * isNullAble:0,defaultVal:
     */
    private String cityName;

    /**
     * 行政城市名称
     * isNullAble:0
     */
    private String naturalCityName;

    /**
     * 客户名称
     * isNullAble:0
     */
    private String userName;

    /**
     * 性别：1 男; 2 女; 3 保密
     * isNullAble:0,defaultVal:0
     */
    private Integer gender;

    /**
     * 区县ID
     * isNullAble:0
     */
    private Integer countyId;

    /**
     * 区县名称
     * isNullAble:0,defaultVal:
     */
    private String countyName;

    /**
     * 省份名称
     * isNullAble:1
     */
    private String provinceName;

    /**
     * 省份id
     * isNullAble:1
     */
    private Integer provinceId;

    /**
     * 街道
     * isNullAble:0
     */
    private String street;

    /**
     * 客户地址具体门牌号
     * isNullAble:0,defaultVal:
     */
    private String address;

    /**
     * 经度
     * isNullAble:1
     */
    private Double longitude;

    /**
     * 纬度
     * isNullAble:1
     */
    private Double latitude;

    /**
     * 客户电话1
     * isNullAble:0,defaultVal:
     */
    private String telephone;

    /**
     * 客户电话2
     * isNullAble:0,defaultVal:
     */
    private String telephone2;

    /**
     * 客户电话3
     * isNullAble:0,defaultVal:
     */
    private String telephone3;

    private String telephoneEnd4;

    private String telephone2End4;

    private String telephone3End4;

    private Integer channelId;

    private String channelName;

    private Integer saleStatus;

    /**
     * 服务分类id
     * isNullAble:0,defaultVal:0
     */
    private Integer servCategId;

    /**
     * 产品一级分类
     * isNullAble:0,defaultVal:0
     */
    private Integer categOneId;

    /**
     * 产品二级分类
     * isNullAble:0,defaultVal:0
     */
    private Integer categId;

    /**
     * 产品id
     * isNullAble:0
     */
    private Integer productId;

    /**
     * 前端产品id
     * isNullAble:0
     */
    private Integer showProductId;

    /**
     * 产品信息
     * isNullAble:0,defaultVal:
     */
    private String productInfo;

    /**
     * 家电故障描述
     * isNullAble:0,defaultVal:
     */
    private String fault;

    /**
     * 订单客户备注
     * isNullAble:0,defaultVal:
     */
    private String remark;

    /**
     * 是否已创建订单
     */
    private Integer isCreateOrder;

    /**
     * 创建人
     * isNullAble:1,defaultVal:
     */
    private String creater;

    /**
     * 创建时间
     * isNullAble:0
     */
    private Date createTime;
}
